<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title>添加商品简介页面</title>
    <link rel="stylesheet" rev="stylesheet" href="${path}/backstage/css/style.css" type="text/css" media="all"/>
</head>

<body class="ContentBody">
<form action="${path}/backstage/intro/add" method="post" enctype="multipart/form-data" name="fom" id="fom" target="mainFrame">
    <div class="MainDiv">
        <table width="99%" border="0" cellpadding="0" cellspacing="0" class="CContent">
            <tr>
                <th class="tablestyle_title">添加商品简介页面</th>
            </tr>
            <tr>
                <td class="CPanel">
                    <table border="0" cellpadding="0" cellspacing="0" style="width:100%">
                        <TR>
                            <TD width="100%">
                                <fieldset style="height:100%;">
                                    <legend>添加商品简介</legend>
                                        <table border="0" cellpadding="2" cellspacing="1" style="width:100%">
                                            <!--隐藏域：放入pid-->
                                            <input type="hidden" name="product.pid" id="product.pid" value="${pid}"/>
                                            <tr>
                                                <td nowrap align="right">简介名称</td>
                                                <td><input type="text" class="text" name="key" id="key"
                                                           value="${intro.key}"/></td>
                                                <td nowrap align="right">简介内容</td>
                                                <td><input type="text" class="text" name="value" id="value"
                                                           value="${intro.value}"/></td>
                                            </tr>
                                        </table>
                                    <br/>
                                </fieldset>
                            </TD>
                        </TR>

                    </TABLE>


                </td>
            </tr>


            <TR>
                <TD colspan="2" align="center" height="50px">
                    <input type="submit" name="Submit" value="保存" formtarget="mainfra" class="button"/>
                    <input type="button" name="Submit2" value="返回" class="button" onclick="window.history.go(-1);"/>
                </TD>
            </TR>
        </TABLE>
        </td>
        </tr>
        </table>
    </div>
</form>
</body>
</html>
